package com.spring.bean.parsedoc.test.constructor;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @ClassName: Main
 * @Author: suncx
 * @CreateDate: 2020-03-23 17:02
 * @Description:
 */
public class Main {
    public static void main(String[] args) {
    ApplicationContext bf = new ClassPathXmlApplicationContext("/bean/ConstructorTest.xml");
    HelloBean test = (HelloBean)bf.getBean("testConstructor");
    System.out.println(test.toString());
    }
}
